package com.example.demo.services;


import com.baomidou.mybatisplus.service.IService;
import com.example.demo.entity.User;
import com.example.demo.entity.Userinfo;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Fyly
 * @since 2019-02-20
 */

public interface IUserService extends IService<User> {

    //根据id获取用户
    public User getUserById(int id);

    //根据openid获取用户
    public  User   selectByOpenid( String openid);







}
